home *** CD-ROM | disk | FTP | other *** search
/ Aminet 24 / Aminet 24 (1998)(GTI - Schatztruhe)[!][Apr 1998].iso / Aminet / dev / c / AmiVoGL_MDEV.lha / examples / Makefile.f77 < prev    next >
Makefile  |  1991-09-26  |  765b  |  38 lines

  1. #
  2. # examples makefile 
  3. #
  4. FEXAMPS = ftrivial fsimple fshapes fpoly fviews fcirctxt fmoretxt fmoretx2 \
  5.       fcurves fpatches fballs fobjvws fworld floc ftetra fcube \
  6.       flcube fsinwave
  7.  
  8. FOBJS = ftrivial.o fsimple.o fshapes.o fpoly.o fviews.o fcirctxt.o fmoretxt.o \
  9.     fmoretx2.o fcurves.o fpatches.o fballs.o fobjvws.o fworld.o floc.o \
  10.     ftetra.o fcube.o flcube.o fsinwave.o
  11.  
  12. #
  13. # Where to find library
  14. LIB = ../hershey/src/libhershey.a ../src/libvogl.a
  15. LIBS = -lsuntool -lsunwindow -lpixrect
  16. #
  17.  
  18. .SUFFIXES: .F .o
  19.  
  20. F77 = f77
  21.  
  22. MFFLAGS = -g /usr/lib/libm.il
  23. FFLAGS = $(MFFLAGS) -I../src
  24.  
  25. .F.o:
  26.     $(F77) -c $(FFLAGS) $*.F
  27.  
  28. all:    $(FEXAMPS)
  29.  
  30. $(FEXAMPS): $(FOBJS) $(LIB)
  31.     $(F77) $(FFLAGS) -o $@ $@.o $(LIB) $(LIBS) 
  32.  
  33. clean:
  34.     rm -f *.o core
  35.  
  36. clobber:
  37.     rm -f $(FEXAMPS) *.o core
  38.